Namespaces

Functions

void
alert(string $message)

Performs operations for adding content to log files using the alert severity level.

at line 17
string
asset(string $path, bool $local = false)

Retrieves publicly available asset.

at line 18
string
button(string $buttonText, array $inputAttrs = [])

No description

at line 26
string
buttonBlock(string $buttonText, array $inputAttrs = [], array $divAttrs = [])

No description

at line 54
string
checkboxGroup(string $name, array $options = [], array $selectedValues = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders a group of checkboxes sharing one name (submitted as name[]), one wrapping div, and ONE error span. Label-right per box.

at line 162
string
checkboxLabelLeft(string $label, string $name, string $value = "", bool $checked = false, array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Generates a div containing an input of type checkbox with the label to the left that is not part of a group.

at line 86
string
checkboxLabelRight(string $label, string $name, string $value = "", bool $checked = false, array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Generates a div containing an input of type checkbox with the label to the right that is not part of a group.

at line 128
void
cl(mixed ...$vars)

Prints to console using JavaScript.

at line 34
string
color(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type color.

at line 198
mixed
config(string $key, mixed $default = null)

Get a configuration value.

at line 49
string
confirm(string $label, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type password confirm.

at line 244
void
console(string $message, string $level = Logger::INFO, string $background = ConsoleLogger::BG_GREEN, string $text = ConsoleLogger::TEXT_LIGHT_GREY)

Generates output messages for console commands.

at line 38
void
console_alert(string $message)

Generates an alert console message.

at line 55
void
console_critical(string $message)

Generates a critical console message.

at line 67
void
console_debug(string $message)

Generates a debug console message.

at line 79
void
console_emergency(string $message)

Generates an emergency console message.

at line 91
void
console_error(string $message)

Generates an error console message.

at line 103
void
console_info(string $message)

Generates an info console message.

at line 115
void
console_notice(string $message)

Generates a notice console message.

at line 127
void
console_warning(string $message)

Generates a warning console message.

at line 140
void
critical(string $message)

Performs operations for adding content to log files using the critical severity level.

at line 154
string
csrf()

Inserts csrf token into form.

at line 270
string
currency(string $label, string $name, string $intlNumberFormat = 'en-US', string $currency = "USD", mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type currency.

at line 303
string
dataListColor(string $label, string $name, string $listName, mixed $value = '', array $options = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type color with an accompanying datalist of suggestions.

at line 347
string
dataListDate(string $label, string $name, string $listName, mixed $value = '', array $options = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type date with an accompanying datalist of suggestions.

at line 392
string
dataListDateTimeLocal(string $label, string $name, string $listName, mixed $value = '', array $options = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type datetime-local with an accompanying datalist of suggestions.

at line 437
string
dataListInterval(string $label, string $name, string $listName, int|float $min, int|float $max, mixed $value = '', array $options = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type range with an accompanying datalist of suggestions.

at line 485
string
dataListMonth(string $label, string $name, string $listName, mixed $value = '', array $options = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type month with an accompanying datalist of suggestions.

at line 539
string
dataListText(string $label, string $name, string $listName, mixed $value = '', array $options = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type text with an accompanying datalist of suggestions.

at line 584
string
dataListTime(string $label, string $name, string $listName, mixed $value = '', array $options = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type time with an accompanying datalist of suggestions.

at line 629
string
dataListWeek(string $label, string $name, string $listName, mixed $value = '', array $options = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type week with an accompanying datalist of suggestions.

at line 674
string
dateSelector(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type dateSelector.

at line 716
string
dateTimeLocal(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type dateTimeLocal.

at line 754
void
dd(mixed ...$vars)

Performs var_dump of parameter and kills the page.

at line 62
void
debug(string $message)

Performs operations for adding content to log files using the debug severity level.

at line 168
void
dump(mixed ...$vars)

Dumps content but continues execution.

at line 78
string
e(string|null $value)

Escape a string for safe HTML output.

at line 98
string
email(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type email.

at line 816
void
emergency(string $message)

Performs operations for adding content to log files using the emergency severity level.

at line 182
mixed
env(string $key, mixed $default = null)

Get an environment variable.

at line 111
void
error(string $message)

Performs operations for adding content to log files using the error severity level.

at line 196
string
errorBag(ArraySet $errors)

Returns list of errors. A wrapper for the FormHelper::displayErrors() function.

at line 783
string
fileSelector(string $label, string $name, array $inputAttrs = [], array $divAttrs = [], bool $multiple = false, array $errors = [])

Renders an HTML div element that surrounds an input of type file.

at line 863
void
flashMessage(string $type, string $message)

Adds a session alert message.

at line 126
string
hidden(string $name, mixed $value)

Generates a hidden input element.

at line 890
string
imageBlock(string $id, string $src, int $width, int $height, array $inputAttrs = [], array $divAttrs = [])

Renders an HTML div element that surrounds an input of type image.

at line 947
string
imageButton(string $id, string $src, int $width, int $height, array $inputAttrs = [])

Renders an HTML div element that surrounds an input of type image.

at line 907
void
info(string $message)

Performs operations for adding content to log files using the info severity level.

at line 210
string
initTinyMCE(string $id)

Returns script for initializing tinyMCE.

at line 10
string
initVite(bool $isDev)

Initializes vite in head of layout.

at line 24
string
input(string $type, string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Assists in the development of forms input blocks in forms. It accepts parameters for setting attribute tags in the form section. Not to be used for inputs of type "Submit" For submit inputs use the submitBlock or submitTag functions.

at line 988
string
interval(string $label, string $name, int|float $min, int|float $max, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type interval.

at line 1029
string
loadTinyMCE()

Returns scripts to load tinyMCE.

at line 55
string
month(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type month.

at line 1075
void
notice(string $message)

Performs operations for adding content to log files using the notice severity level.

at line 224
string
now(string|null $timezone = null, string|null $format = null, string|null $locale = null)

Get the current time as a formatted string using Carbon.

at line 150
string
number(string $label, string $name, mixed $value = '', array $config = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

No description

at line 1097
string
output(string $name, string $for)

Generates an HTML output element.

at line 1127
string
password(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type password.

at line 1158
string
profileImageSort()

Loads scripts and styling for sorting of profile images.

at line 83
string
radio(string $label, string $name, string $value, bool $checked = false, array $inputAttrs = [])

Creates an input element of type radio with an accompanying label element. Compatible with radio button groups.

at line 1208
string
radioGroup(string $name, array $options = [], string|int|null $selectedValue = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders a radio button group based on options provided.

at line 1241
void
redirect(string $location, array $params = [])

Performs redirect operations.

at line 172
string
rememberMe(string $label, bool $checked = false, array $inputAttrs = [], array $divAttrs = [])

Generates a div containing an input of type checkbox with the label to the left that is not part of a group.

at line 1284
string
resources()

Retrieves all resources needed for views to operate. This function is called in the head section of the view in the templates.

at line 68
string
route(string $path, array $params = [])

Route function for views that supports dot notation and array of parameters.

at line 186
string
select(string $label, string $name, string|int|null $value, array $options, array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders a select element with a list of options.

at line 1356
string
submit(string $buttonText, array $inputAttrs = [])

Create a input element of type submit.

at line 1416
string
submitBlock(string $buttonText, array $inputAttrs = [], array $divAttrs = [])

Generates a div containing an input of type submit.

at line 1389
string
tel(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type tel.

at line 1439
string
text(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type text.

at line 1494
string
textarea(string $label, string $name, string|null $value, array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Assists in the development of textarea in forms. It accepts parameters for setting attribute tags in the form section.

at line 1533
string
timeSelector(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type timeSelector.

at line 1570
string
urlInput(string $label, string $name, string|null $value, array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Assists in the development of url in forms. It accepts parameters for setting attribute tags in the form section.

at line 1609
string
vite(string $asset)

Generate the URL for a Vite-built asset.

at line 215
void
warning(string $message)

Performs operations for adding content to log files using the warning severity level.

at line 238
string
week(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type week.

at line 1656